home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
domacnost a kancelar
/
autoit
/
autoit-v3-setup.exe
/
Examples
/
Helpfile
/
_IEIsFrameSet.au3
< prev
next >
Wrap
Text File
|
2007-09-08
|
672b
|
18 lines
; *******************************************************
; Example 1 - Display the frameset example, get frame collection,
; check number of frames, display number of frames or iFrames present
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("frameset")
$oFrames = _IEFrameGetCollection ($oIE)
$iNumFrames = @extended
If $iNumFrames > 0 Then
If _IEIsFrameSet ($oIE) Then
MsgBox(0, "Frame Info", "Page contains " & $iNumFrames & " frames in a FrameSet")
Else
MsgBox(0, "Frame Info", "Page contains " & $iNumFrames & " iFrames")
EndIf
Else
MsgBox(0, "Frame Info", "Page contains no frames")
EndIf